package cn.wolfcode.luowowo.query;


import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class TravelQuery extends  QueryObject{

    // 最新
    public static final int ORDER_NEW = 1;
    // 最热
    public static final int ORDER_HOT = 2;


    private Integer state = -1;

    private Integer dayType = -1;

    private Integer perExpendType = -1;

    private Integer orderType = -1;

    public TravelCondition getDay(){
        return TravelCondition.DATA_MAP.get(dayType);
    }

    public TravelCondition getPerExpend(){
        return TravelCondition.PRE_EXPEND_TYPE.get(perExpendType);
    }
}
